import request from '@/utils/request'

//  监管部门领导 -- 查询隐患复审列表
export function supLeaderFsQueryQuestion(params) {
  return request({
    url: '/business/defect/supLeaderFs/queryQuestion',
    method: 'get',
    params
  })
}

//  获取隐患详情
export function supLeaderFsGetQuestionDetail(params) {
  return request({
    url: '/business/defect/supLeaderFs/getQuestionDetail',
    method: 'get',
    params
  })
}

//  监管部门领导 -- 复审通过
export function supLeaderFsCheckOkQuestion(data) {
  return request({
    url: '/business/defect/supLeaderFs/checkOkQuestion',
    method: 'post',
    data
  })
}

//  监管部门领导 -- 复审不通过
export function supLeaderFsCheckNoQuestion(data) {
  return request({
    url: '/business/defect/supLeaderFs/checkNoQuestion',
    method: 'post',
    data
  })
}
